﻿/*-------------------------------------------------------------------------
* 命名空间: SiliconSelect.ViewModels/PermissionCheckViewModel
* 类       名: PermissionCheckViewModel
* 功      能:  TD
* 时      间:  2023/9/15 10:14:19
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
using SiliconSelect.Base;
using SiliconSelect.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace SiliconSelect.ViewModels
{
    public class PermissionCheckViewModel : NotifyBase
    {
        public PermissionCheckViewModel()
        {
            // 赋值一个默认值
            PermissionUser.Username = "工程师";
        }

        /// <summary>
        /// 权限认证用户信息
        /// </summary>
        private UserModel _permissionUser = new UserModel();

        public UserModel PermissionUser
        {
            get { return _permissionUser; }
            set { SetProperty(ref _permissionUser, value); }
        }

    }
}
